import { Schema } from 'mongoose'

export const bookingSchema = new Schema({
    _id: { type: String, require: true},
    address: { type: String},
    remark: { type: String},
    location: { type: String, require: true},
    phone: { type: String, require: true},
    nickName: { type: String},
    userid: { type: String},
    question: { type: String},
    type: { type: String},
    name: { type: String },
    status: { type: String},
    module: { type: String},
    role: { type: String }, // status 0 普通用户 1 管理员
});